#
# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
# or more contributor license agreements. Licensed under the Elastic License;
# you may not use this file except in compliance with the Elastic License.
#
include $(CPP_SRC_HOME)/mk/defines.mk

TARGET=$(OBJS_DIR)/libMlMaths$(DYNAMIC_LIB_EXT)

USE_BOOST=1
USE_BOOST_FILESYSTEM_LIBS=1
USE_RAPIDJSON=1
USE_EIGEN=1

LIBS:=$(LIB_ML_CORE)

all: build

SRCS= \
CAdaptiveBucketing.cc \
CAgglomerativeClusterer.cc \
CAssignment.cc \
CBasicStatistics.cc \
CBayesianOptimisation.cc \
CBjkstUniqueValues.cc \
CBoostedTree.cc \
CBoostedTreeFactory.cc \
CBoostedTreeHyperparameters.cc \
CBoostedTreeImpl.cc \
CBoostedTreeLeafNodeStatistics.cc \
CBoostedTreeLoss.cc \
CBoostedTreeUtils.cc \
CCalendarCyclicTest.cc \
CCalendarComponentAdaptiveBucketing.cc \
CCalendarComponent.cc \
CCalendarFeature.cc \
CCategoricalTools.cc \
CChecksum.cc \
CClusterer.cc \
CClustererStateSerialiser.cc \
CConstantPrior.cc \
CCooccurrences.cc \
CCountMinSketch.cc \
CDataFrameCategoryEncoder.cc \
CDataFramePredictiveModel.cc \
CDataFrameUtils.cc \
CDecayRateController.cc \
CDecompositionComponent.cc \
CEntropySketch.cc \
CExpandingWindow.cc \
CGammaRateConjugate.cc \
CGradientDescent.cc \
CInformationCriteria.cc \
CIntegerTools.cc \
CIntegration.cc \
CKMeansOnline1d.cc \
CKMostCorrelated.cc \
CLassoLogisticRegression.cc \
CLeastSquaresOnlineRegression.cc \
CLinearAlgebra.cc \
CLinearAlgebraTools.cc \
CLogNormalMeanPrecConjugate.cc \
CLogTDistribution.cc \
CMathsFuncs.cc \
CMic.cc \
CMixtureDistribution.cc \
CModel.cc \
CModelStateSerialiser.cc \
CModelWeight.cc \
CMultimodalPrior.cc \
CMultinomialConjugate.cc \
CMultivariateConstantPrior.cc \
CMultivariateMultimodalPrior.cc \
CMultivariateMultimodalPriorFactory.cc \
CMultivariateNormalConjugateFactory.cc \
CMultivariateOneOfNPrior.cc \
CMultivariateOneOfNPriorFactory.cc \
CMultivariatePrior.cc \
CNaiveBayes.cc \
CNaturalBreaksClassifier.cc \
CNormalMeanPrecConjugate.cc \
COneOfNPrior.cc \
COrderings.cc \
COrdinal.cc \
COutliers.cc \
CPeriodicityHypothesisTests.cc \
CPoissonMeanConjugate.cc \
CPrior.cc \
CPriorStateSerialiser.cc \
CPRNG.cc \
CProbabilityCalibrator.cc \
CQDigest.cc \
CQuantileSketch.cc \
CRadialBasisFunction.cc \
CRandomizedPeriodicityTest.cc \
CRestoreParams.cc \
CSampling.cc \
CSeasonalComponent.cc \
CSeasonalComponentAdaptiveBucketing.cc \
CSeasonalTime.cc \
CSignal.cc \
CSpline.cc \
CStatisticalTests.cc \
CTimeSeriesChangeDetector.cc \
CTimeSeriesDecomposition.cc \
CTimeSeriesDecompositionDetail.cc \
CTimeSeriesDecompositionStateSerialiser.cc \
CTimeSeriesDecompositionStub.cc \
CTimeSeriesModel.cc \
CTimeSeriesMultibucketFeatureSerialiser.cc \
CTimeSeriesSegmentation.cc \
CTools.cc \
CTreeShapFeatureImportance.cc \
CTrendComponent.cc \
CXMeansOnline1d.cc \
CXMeansOnlineFactory.cc \
MathsTypes.cc \
ProbabilityAggregators.cc \

include $(CPP_SRC_HOME)/mk/dynamiclib.mk

